package com.yaorange.nongjt.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yaorange.common.annotation.Excel;
import com.yaorange.common.core.domain.BaseEntity;

/**
 * 打印机认证情况对象 njt_device_certification_info
 * 
 * @author hzliu
 * @date 2025-09-27
 */
public class NjtDeviceCertificationInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 序列号 */
    @Excel(name = "序列号")
    private String serialNumber;

    /** MAC地址 */
    @Excel(name = "MAC地址")
    private String macAddress;

    /** 认证时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "认证时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date certificationTime;

    /** 认证状态 */
    @Excel(name = "认证状态")
    private String certificationStatus;

    /** 使用状态 */
    @Excel(name = "使用状态")
    private String usageStatus;

    /** 注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registrationTime;

    /** 主体名称 */
    @Excel(name = "主体名称")
    private String entityName;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phoneNumber;

    /** 法人姓名 */
    @Excel(name = "法人姓名")
    private String legalPersonName;

    /** 省 */
    @Excel(name = "省")
    private String province;

    /** 市 */
    @Excel(name = "市")
    private String city;

    /** 区/县 */
    @Excel(name = "区/县")
    private String districtCounty;

    /** 镇/乡 */
    @Excel(name = "镇/乡")
    private String townVillage;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String detailedAddress;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setSerialNumber(String serialNumber) 
    {
        this.serialNumber = serialNumber;
    }

    public String getSerialNumber() 
    {
        return serialNumber;
    }

    public void setMacAddress(String macAddress) 
    {
        this.macAddress = macAddress;
    }

    public String getMacAddress() 
    {
        return macAddress;
    }

    public void setCertificationTime(Date certificationTime) 
    {
        this.certificationTime = certificationTime;
    }

    public Date getCertificationTime() 
    {
        return certificationTime;
    }

    public void setCertificationStatus(String certificationStatus) 
    {
        this.certificationStatus = certificationStatus;
    }

    public String getCertificationStatus() 
    {
        return certificationStatus;
    }

    public void setUsageStatus(String usageStatus) 
    {
        this.usageStatus = usageStatus;
    }

    public String getUsageStatus() 
    {
        return usageStatus;
    }

    public void setRegistrationTime(Date registrationTime) 
    {
        this.registrationTime = registrationTime;
    }

    public Date getRegistrationTime() 
    {
        return registrationTime;
    }

    public void setEntityName(String entityName) 
    {
        this.entityName = entityName;
    }

    public String getEntityName() 
    {
        return entityName;
    }

    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }

    public void setLegalPersonName(String legalPersonName) 
    {
        this.legalPersonName = legalPersonName;
    }

    public String getLegalPersonName() 
    {
        return legalPersonName;
    }

    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }

    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }

    public void setDistrictCounty(String districtCounty) 
    {
        this.districtCounty = districtCounty;
    }

    public String getDistrictCounty() 
    {
        return districtCounty;
    }

    public void setTownVillage(String townVillage) 
    {
        this.townVillage = townVillage;
    }

    public String getTownVillage() 
    {
        return townVillage;
    }

    public void setDetailedAddress(String detailedAddress) 
    {
        this.detailedAddress = detailedAddress;
    }

    public String getDetailedAddress() 
    {
        return detailedAddress;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serialNumber", getSerialNumber())
            .append("macAddress", getMacAddress())
            .append("certificationTime", getCertificationTime())
            .append("certificationStatus", getCertificationStatus())
            .append("usageStatus", getUsageStatus())
            .append("registrationTime", getRegistrationTime())
            .append("entityName", getEntityName())
            .append("phoneNumber", getPhoneNumber())
            .append("legalPersonName", getLegalPersonName())
            .append("province", getProvince())
            .append("city", getCity())
            .append("districtCounty", getDistrictCounty())
            .append("townVillage", getTownVillage())
            .append("detailedAddress", getDetailedAddress())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
